<template>
	<view>
		<view class="wallet_bg">
			<view class="wallet-num">
				<view style="font-size:56rpx">999.00</view>
				<view style="font-size: 26rpx;">总金额 (元)</view>
			</view>
			<view class="wallet-list">
				<view class="ti-num">
					<view style="font-size: 40rpx;">200.50</view>
					<view style="font-size: 24rpx;color:rgba(255,255,255,0.7);margin-top:8rpx;">可提现金额 (元)</view>
				</view>
				<view class="ti-num">
					<view style="font-size: 40rpx;">200.50</view>
					<view style="font-size: 24rpx;color:rgba(255,255,255,0.7);margin-top:8rpx;">今日收益 (元) </view>
				</view>
				<view class="ti-num numed">
					<view style="font-size: 40rpx;">200.50</view>
					<view style="font-size: 24rpx;color:rgba(255,255,255,0.7);margin-top:8rpx;">当月收益 (元)</view>
				</view>

			</view>
			<view class="sub-btn">
				<view class="btn-tixian" @click="handleDrawal">提现</view>
			</view>
		</view>

		<view class="no-title">钱包明细</view>

		<view class="coin-list">
			<view>
				<view class="list-item-title">礼物</view>
				<view class="list-item-time">2025-01-01 00:00:00</view>
			</view>
			<view class="list-item-num">+180</view>
		</view>
		<view class="coin-list">
			<view>
				<view class="list-item-title">其他</view>
				<view class="list-item-time">2025-01-01 00:00:00</view>
			</view>
			<view class="list-item-num">-100</view>
		</view>
		<view class="coin-list">
			<view>
				<view class="list-item-title">积分</view>
				<view class="list-item-time">2025-01-01 00:00:00</view>
			</view>
			<view class="list-item-num">+800</view>
		</view>
		<view class="coin-list">
			<view>
				<view class="list-item-title">提现</view>
				<view class="list-item-time">2025-01-01 00:00:00</view>
			</view>
			<view class="list-item-num">- 680</view>
		</view>


	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			handleDrawal() {
				this.$helper.to('/pages/views/myWallet/drawal')
			},
		}
	}
</script>

<style lang="scss" scoped>
	page {
		background: #fff;
	}

	.wallet_bg {
		position: relative;
		width: 100%;
		height: 390rpx;
		background: url("/static/image/mine/mine-wallet.png");
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}

	.wallet-num {
		text-align: center;
		color: #fff;
		padding-top: 30rpx;
	}

	.wallet-list {
		display: flex;
		align-items: center;
	}

	.ti-num {
		width: 264rpx;
		text-align: center;
		color: #fff;
		border-right: 1rpx solid rgba(255, 255, 255, 0.5);
		margin-top: 30rpx;
	}

	.numed {
		border: none;
	}

	.sub-btn {
		margin-top: 30rpx;
		height: 118rpx;
		border-top: 1rpx solid rgba(255, 255, 255, 0.3);
	}

	.btn-tixian {
		width: 220rpx;
		height: 64rpx;
		background: #FFFFFF;
		border-radius: 32rpx;
		color: #EB4747;
		line-height: 64rpx;
		text-align: center;
		margin: 0 auto;
		margin-top: 24rpx;
	}

	.no-title {
		margin: 30rpx;
		font-weight: 500;
		font-size: 32rpx;
		color: #333333;

	}

	.coin-list {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 133rpx;
		margin: 0 30rpx;
		border-bottom: 1px solid #efefef;
	}

	.list-item-title {
		font-size: 30rpx;
		color: #000;
	}

	.list-item-time {
		font-size: 24rpx;
		color: #999;
		margin-top: 18rpx;
	}

	.list-item-num {
		font-size: 36rpx;
		color: #EB4747;
	}
</style>